package com.xuan.contest.common.job;

import com.xuan.contest.common.utils.SpringContextHolder;
import com.xuan.contest.service.IBussinessService;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

/**
 * @author XinZhaoXuan
 * @date 2018/9/7
 */
public class CheckAnswerJob extends AbstractScheduledJob {
    @Override
    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {

        SpringContextHolder.getBean(IBussinessService.class).workAnswerJob();
    }


}
